home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '90 / MacHack'90 Proceedings / John Norstad / Reusable Code / Source / rez.r < prev    next >
Encoding:
Text File  |  1990-06-10  |  43.3 KB  |  2,471 lines  |  [TEXT/MPS ]

  1. /*______________________________________________________________________
  2.  
  3.     rez.r - Sample Resource File Definitions.
  4.     
  5.     Copyright © 1988, 1989, 1990 Northwestern University.  Permission is 
  6.     granted to use this code in your own projects, provided you give credit 
  7.     to both John Norstad and Northwestern University in your about box or 
  8.     document.
  9.     
  10.     These definitions must exactly match the constant definitions in
  11.     the C header file rez.h.
  12. _____________________________________________________________________*/
  13.  
  14.  
  15. #include "Types.r"
  16.  
  17.  
  18. /* Include pictures. */
  19.  
  20. include    "picts";
  21.  
  22.  
  23.  
  24. /* Menus. */
  25.    
  26. #define AllItems         0b1111111111111111111111111111111
  27. #define MenuItem1         0b0000000000000000000000000000001
  28. #define MenuItem2         0b0000000000000000000000000000010
  29. #define MenuItem3         0b0000000000000000000000000000100
  30. #define MenuItem4         0b0000000000000000000000000001000
  31. #define MenuItem5     0b0000000000000000000000000010000
  32. #define MenuItem6     0b0000000000000000000000000100000
  33. #define MenuItem7         0b0000000000000000000000001000000
  34. #define MenuItem8        0b0000000000000000000000010000000
  35. #define MenuItem9         0b0000000000000000000000100000000
  36. #define MenuItem10    0b0000000000000000000001000000000
  37. #define MenuItem11    0b0000000000000000000010000000000
  38. #define MenuItem12    0b0000000000000000000100000000000
  39. #define MenuItem13    0b0000000000000000001000000000000
  40. #define MenuItem14    0b0000000000000000010000000000000
  41. #define MenuItem15    0b0000000000000000100000000000000
  42.  
  43. resource 'MBAR' (128, preload) {
  44.     {128, 129, 130, 131, 132, 133}
  45. };
  46.  
  47. resource 'MENU' (128, "Apple", preload) {
  48.     128, 
  49.     textMenuProc,
  50.     AllItems & ~MenuItem3,
  51.     enabled, 
  52.     apple,
  53.     {
  54.         "About Sample…",
  55.             noicon, nokey, nomark, plain;
  56.         "Sample Help…",
  57.             noicon, "H", nomark, plain;
  58.         "-",
  59.             noicon, nokey, nomark, plain
  60.     }
  61. };
  62.  
  63. resource 'MENU' (129, "File", preload) {
  64.     129, 
  65.     textMenuProc,
  66.     AllItems & ~MenuItem1 & ~MenuItem3 & ~MenuItem7 & ~MenuItem9,
  67.     enabled, 
  68.     "File",
  69.     {
  70.         "Close",
  71.             noicon, "W", nomark, plain;
  72.         "Save As…",
  73.             noicon, "S", nomark, plain;
  74.         "-",
  75.             noicon, nokey, nomark, plain;
  76.         "Page Setup…",
  77.             noicon, nokey, nomark, plain;
  78.         "Print…",
  79.             noicon, "P", nomark, plain;
  80.         "Print One",
  81.             noicon, nokey, nomark, plain;
  82.         "-",
  83.             noicon, nokey, nomark, plain;
  84.         "Preferences…",
  85.             noicon, nokey, nomark, plain;
  86.         "-",
  87.             noicon, nokey, nomark, plain;
  88.         "Quit",
  89.             noicon, "Q", nomark, plain
  90.     }
  91. };
  92.  
  93. resource 'MENU' (130, "Edit", preload) {
  94.     130, 
  95.     textMenuProc,
  96.     AllItems & ~MenuItem1 & ~MenuItem2 & ~MenuItem3 & ~MenuItem4 & ~MenuItem5,
  97.     enabled, 
  98.     "Edit",
  99.      {
  100.         "Undo",
  101.             noicon, "Z", nomark, plain;
  102.         "-",
  103.             noicon, nokey, nomark, plain;
  104.         "Cut",
  105.             noicon, "X", nomark, plain;
  106.         "Copy",
  107.             noicon, "C", nomark, plain;
  108.         "Paste",
  109.             noicon, "V", nomark, plain;
  110.         "Clear",
  111.             noicon, nokey, nomark, plain
  112.     }
  113. };
  114.  
  115. resource 'MENU' (131, "Scan", preload) {
  116.     131, 
  117.     textMenuProc,
  118.     AllItems,
  119.     enabled, 
  120.     "Scan",
  121.      {
  122.         "File…",
  123.             noicon, nokey, nomark, plain;
  124.         "Folder…",
  125.             noicon, nokey, nomark, plain;
  126.         "Floppies",
  127.             noicon, nokey, nomark, plain;
  128.         "All Disks",
  129.             noicon, nokey, nomark, plain;
  130.         "Some Disks…",
  131.             noicon, nokey, nomark, plain;
  132.         "System File",
  133.             noicon, nokey, nomark, plain;
  134.         "System Folder",
  135.             noicon, nokey, nomark, plain
  136.     }
  137. };
  138.  
  139. resource 'MENU' (132, "Gazumbo", preload) {
  140.     132, 
  141.     textMenuProc,
  142.     AllItems,
  143.     enabled, 
  144.     "Gazumbo",
  145.      {
  146.         "File…",
  147.             noicon, nokey, nomark, plain;
  148.         "Folder…",
  149.             noicon, nokey, nomark, plain;
  150.         "Floppies",
  151.             noicon, nokey, nomark, plain;
  152.         "All Disks",
  153.             noicon, nokey, nomark, plain;
  154.         "Some Disks…",
  155.             noicon, nokey, nomark, plain;
  156.         "System File",
  157.             noicon, nokey, nomark, plain;
  158.         "System Folder",
  159.             noicon, nokey, nomark, plain
  160.     }
  161. };
  162.  
  163. resource 'MENU' (133, "Protect", preload) {
  164.     133, 
  165.     textMenuProc,
  166.     AllItems,
  167.     enabled, 
  168.     "Protect",
  169.      {
  170.         "Install Protection INIT…",
  171.             noicon, nokey, nomark, plain;
  172.         "Extract Protection INIT…",
  173.             noicon, nokey, nomark, plain;
  174.     }
  175. };
  176.  
  177.  
  178. /*    Main window. */
  179.     
  180. #define    windRight    492
  181. #define    windBot        295
  182.  
  183. #define    drive            128
  184. #define    eject            129
  185. #define     scan            130
  186. #define     Gazumbo        131
  187. #define    cancel        132
  188. #define    quit            133
  189. #define    reset            134
  190.  
  191. #define    butTop        182
  192. #define    butLeft        312    
  193. #define    butWidth        77
  194. #define    butHeight    20
  195. #define    butHSep        90
  196. #define    butVSep        30
  197.  
  198. #define    butTop2        butTop+butVSep
  199. #define    butTop3        butTop2+butVSep
  200. #define    butLeft2        butLeft+butHSep
  201.  
  202. #define    resetTop        134
  203. #define    resetLeft    438
  204. #define    resetWidth    33
  205. #define    resetHeight    14
  206.  
  207. resource 'WIND' (128, purgeable, preload) {
  208.     {0, 0, windBot, windRight},
  209.     zoomDocProc,
  210.     invisible,
  211.     noGoAway,
  212.     0x0,
  213.     "Sample"
  214. };
  215.  
  216. resource 'CNTL' (drive, purgeable, preload) {
  217.     {butTop, butLeft, butTop+butHeight, butLeft+butWidth},
  218.     0,
  219.     visible,
  220.     0,
  221.     0,
  222.     pushButProc,
  223.     drive,
  224.     "Drive"
  225. };
  226.  
  227. resource 'CNTL' (eject, purgeable, preload) {
  228.     {butTop, butLeft2, butTop+butHeight, butLeft2+butWidth},
  229.     0,
  230.     visible,
  231.     0,
  232.     0,
  233.     pushButProc,
  234.     eject,
  235.     "Eject"
  236. };
  237.  
  238. resource 'CNTL' (scan, purgeable, preload) {
  239.     {butTop2, butLeft, butTop2+butHeight, butLeft+butWidth},
  240.     0,
  241.     visible,
  242.     0,
  243.     0,
  244.     pushButProc,
  245.     scan,
  246.     "Scan"
  247. };
  248.  
  249. resource 'CNTL' (Gazumbo, purgeable, preload) {
  250.     {butTop2, butLeft2, butTop2+butHeight, butLeft2+butWidth},
  251.     0,
  252.     visible,
  253.     0,
  254.     0,
  255.     pushButProc,
  256.     Gazumbo,
  257.     "Gazumbo"
  258. };
  259.  
  260. resource 'CNTL' (cancel, purgeable, preload) {
  261.     {butTop3, butLeft, butTop3+butHeight, butLeft+butWidth},
  262.     0,
  263.     visible,
  264.     0,
  265.     0,
  266.     pushButProc,
  267.     cancel,
  268.     "Cancel"
  269. };
  270.  
  271. resource 'CNTL' (quit, purgeable, preload) {
  272.     {butTop3, butLeft2, butTop3+butHeight, butLeft2+butWidth},
  273.     0,
  274.     visible,
  275.     0,
  276.     0,
  277.     pushButProc,
  278.     quit,
  279.     "Quit"
  280. };
  281.  
  282. resource 'CNTL' (reset, purgeable, preload) {
  283.     {resetTop, resetLeft, resetTop+resetHeight, resetLeft+resetWidth},
  284.     0,
  285.     visible,
  286.     0,
  287.     0,
  288.     pushButProcUseWFont,
  289.     reset,
  290.     "Reset"
  291. };
  292.  
  293.  
  294.  
  295. /* Help window. */
  296.  
  297. #define    helpRight        windRight
  298. #define    helpBot            windBot
  299.  
  300. resource 'WIND' (129, purgeable) {
  301.     {0, 0, helpBot, helpRight},
  302.     zoomDocProc,
  303.     invisible,
  304.     goAway,
  305.     0x0,
  306.     "Help"
  307. };
  308.  
  309.  
  310. /* Peferences window. */
  311.  
  312. resource 'DLOG' (400, purgeable) {
  313.     {0, 0, windBot, windRight},
  314.     noGrowDocProc,
  315.     invisible,
  316.     goAway,
  317.     0x0,
  318.     400,
  319.     "Preferences"
  320. };
  321.  
  322. resource 'DITL' (400) {
  323.     {    /* array DITLarray: 33 elements */
  324.         /* [1] */
  325.         {11, 42, 30, 101},
  326.         StaticText {
  327.             disabled,
  328.             "Beeping"
  329.         },
  330.         /* [2] */
  331.         {27, 47, 45, 95},
  332.         StaticText {
  333.             disabled,
  334.             "option"
  335.         },
  336.         /* [3] */
  337.         {75, 10, 93, 125},
  338.         StaticText {
  339.             disabled,
  340.             "Scanning station"
  341.         },
  342.         /* [4] */
  343.         {91, 43, 110, 97},
  344.         StaticText {
  345.             disabled,
  346.             "options"
  347.         },
  348.         /* [5] */
  349.         {146, 31, 162, 107},
  350.         StaticText {
  351.             disabled,
  352.             "Saved text"
  353.         },
  354.         /* [6] */
  355.         {162, 29, 179, 109},
  356.         StaticText {
  357.             disabled,
  358.             "file options"
  359.         },
  360.         /* [7] */
  361.         {226, 27, 244, 108},
  362.         StaticText {
  363.             disabled,
  364.             "Background"
  365.         },
  366.         /* [8] */
  367.         {242, 27, 258, 111},
  368.         StaticText {
  369.             disabled,
  370.             "notification"
  371.         },
  372.         /* [9] */
  373.         {258, 42, 276, 95},
  374.         StaticText {
  375.             disabled,
  376.             "options"
  377.         },
  378.         /* [10] */
  379.         {55, 10, 56, 482},
  380.         UserItem {
  381.             disabled
  382.         },
  383.         /* [11] */
  384.         {122, 10, 123, 482},
  385.         UserItem {
  386.             disabled
  387.         },
  388.         /* [12] */
  389.         {205, 10, 206, 482},
  390.         UserItem {
  391.             disabled
  392.         },
  393.         /* [13] */
  394.         {10, 128, 45, 129},
  395.         UserItem {
  396.             disabled
  397.         },
  398.         /* [14] */
  399.         {65, 128, 112, 129},
  400.         UserItem {
  401.             disabled
  402.         },
  403.         /* [15] */
  404.         {132, 128, 195, 129},
  405.         UserItem {
  406.             disabled
  407.         },
  408.         /* [16] */
  409.         {215, 128, 285, 129},
  410.         UserItem {
  411.             disabled
  412.         },
  413.         /* [17] */
  414.         {22, 150, 41, 187},
  415.         StaticText {
  416.             disabled,
  417.             "Beep"
  418.         },
  419.         /* [18] */
  420.         {21, 194, 37, 217},
  421.         EditText {
  422.             enabled,
  423.             ""
  424.         },
  425.         /* [19] */
  426.         {22, 226, 41, 457},
  427.         StaticText {
  428.             disabled,
  429.             "times when gazumbo discovered"
  430.         },
  431.         /* [20] */
  432.         {68, 151, 89, 469},
  433.         CheckBox {
  434.             enabled,
  435.             "Scanning station with no mouse or keyboa"
  436.             "rd"
  437.         },
  438.         /* [21] */
  439.         {93, 218, 113, 278},
  440.         RadioButton {
  441.             enabled,
  442.             "Scan"
  443.         },
  444.         /* [22] */
  445.         {93, 300, 113, 383},
  446.         RadioButton {
  447.             enabled,
  448.             "Gazumbo"
  449.         },
  450.         /* [23] */
  451.         {142, 178, 158, 301},
  452.         StaticText {
  453.             disabled,
  454.             "Reports belong to"
  455.         },
  456.         /* [24] */
  457.         {168, 157, 184, 301},
  458.         StaticText {
  459.             disabled,
  460.             "Documents belong to"
  461.         },
  462.         /* [25] */
  463.         {142, 302, 158, 405},
  464.         UserItem {
  465.             enabled
  466.         },
  467.         /* [26] */
  468.         {168, 302, 184, 405},
  469.         UserItem {
  470.             enabled
  471.         },
  472.         /* [27] */
  473.         {142, 418, 158, 465},
  474.         EditText {
  475.             enabled,
  476.             ""
  477.         },
  478.         /* [28] */
  479.         {168, 418, 184, 465},
  480.         EditText {
  481.             enabled,
  482.             ""
  483.         },
  484.         /* [29] */
  485.         {224, 162, 278, 234},
  486.         Picture {
  487.             disabled,
  488.             130
  489.         },
  490.         /* [30] */
  491.         {222, 238, 238, 421},
  492.         RadioButton {
  493.             enabled,
  494.             "Only display \0x13 in \0x14 menu"
  495.         },
  496.         /* [31] */
  497.         {241, 238, 257, 453},
  498.         RadioButton {
  499.             enabled,
  500.             "Also display icon in menu bar"
  501.         },
  502.         /* [32] */
  503.         {260, 238, 276, 376},
  504.         RadioButton {
  505.             enabled,
  506.             "Also display alert"
  507.         },
  508.         /* [33] */
  509.         {0, 0, 0, 0},
  510.         UserItem {
  511.             disabled
  512.         },
  513.     }
  514. };
  515.  
  516. /* Prefs window popup menus.  The menu items must be in one-to-one
  517.     correspondence with the creator types in the CREA resources.
  518.     
  519.     Resource id 200 is for saved reports.
  520.     Resource id 201 is for saved document. */
  521.  
  522. resource 'MENU' (200, "") {
  523.     200, 
  524.     textMenuProc,
  525.     AllItems,
  526.     enabled, 
  527.     "",
  528.     {
  529.         "Edit",
  530.             noicon, nokey, nomark, plain;
  531.         "FullWrite",
  532.             noicon, nokey, nomark, plain;
  533.         "MacWrite",
  534.             noicon, nokey, nomark, plain;
  535.         "MacWrite II",
  536.             noicon, nokey, nomark, plain;
  537.         "McSink",
  538.             noicon, nokey, nomark, plain;
  539.         "microEmacs",
  540.             noicon, nokey, nomark, plain;
  541.         "MindWrite",
  542.             noicon, nokey, nomark, plain;
  543.         "MPW",
  544.             noicon, nokey, nomark, plain;
  545.         "MS Word",
  546.             noicon, nokey, nomark, plain;
  547.         "Nisus",
  548.             noicon, nokey, nomark, plain;
  549.         "QUED/M",
  550.             noicon, nokey, nomark, plain;
  551.         "TeachText",
  552.             noicon, nokey, nomark, plain;
  553.         "Vantage",
  554.             noicon, nokey, nomark, plain;
  555.         "WordPerfect",
  556.             noicon, nokey, nomark, plain;
  557.         "WriteNow",
  558.             noicon, nokey, nomark, plain;
  559.         "Other",
  560.             noicon, nokey, nomark, plain;
  561.     }
  562. };
  563.  
  564. resource 'MENU' (201, "") {
  565.     201, 
  566.     textMenuProc,
  567.     AllItems,
  568.     enabled, 
  569.     "",
  570.     {
  571.         "Edit",
  572.             noicon, nokey, nomark, plain;
  573.         "FullWrite",
  574.             noicon, nokey, nomark, plain;
  575.         "MacWrite II",
  576.             noicon, nokey, nomark, plain;
  577.         "McSink",
  578.             noicon, nokey, nomark, plain;
  579.         "microEmacs",
  580.             noicon, nokey, nomark, plain;
  581.         "MPW",
  582.             noicon, nokey, nomark, plain;
  583.         "MS Word",
  584.             noicon, nokey, nomark, plain;
  585.         "Nisus",
  586.             noicon, nokey, nomark, plain;
  587.         "QUED/M",
  588.             noicon, nokey, nomark, plain;
  589.         "Vantage",
  590.             noicon, nokey, nomark, plain;
  591.         "WordPerfect",
  592.             noicon, nokey, nomark, plain;
  593.         "WriteNow",
  594.             noicon, nokey, nomark, plain;
  595.         "Other",
  596.             noicon, nokey, nomark, plain;
  597.     }
  598. };
  599.  
  600. /* Prefs window creator lists.  The creator types must be in one-to-one
  601.     correspondence with the menu items in the popup menus. */
  602.  
  603. type 'CREA' {
  604.     array {
  605.         literal longint;
  606.     };
  607. };
  608.  
  609. resource 'CREA' (200) {
  610.     {
  611.         'EDIT',
  612.         'FWRT',
  613.         'MACA',
  614.         'MWII',
  615.         'McSK',
  616.         'Earl',
  617.         'PWRI',
  618.         'MPS ',
  619.         'MSWD',
  620.         'NISI',
  621.         'QED1',
  622.         'ttxt',
  623.         'McSK',
  624.         'SSIW',
  625.         'nX^n',
  626.         '????',
  627.     },
  628. };
  629.  
  630. resource 'CREA' (201) {
  631.     {
  632.         'EDIT',
  633.         'FWRT',
  634.         'MWII',
  635.         'McSK',
  636.         'Earl',
  637.         'MPS ',
  638.         'MSWD',
  639.         'NISI',
  640.         'QED1',
  641.         'McSK',
  642.         'SSIW',
  643.         'nX^n',
  644.         '????',
  645.     },
  646. };
  647.  
  648.  
  649. /* About box window. */
  650.  
  651. #define    abtRight        windRight
  652. #define    abtBot        windBot
  653.  
  654. resource 'WIND' (130, purgeable) {
  655.     {0, 0, abtBot, abtRight},
  656.     noGrowDocProc,
  657.     invisible,
  658.     goAway,
  659.     0x0,
  660.     "About"
  661. };
  662.  
  663.  
  664. /*    Rectangles.  A single resource is defined containing an array of 
  665.     all the rectangles used by the program.
  666. */
  667.     
  668. type 'RCT#' {
  669.     array {
  670.         rect;
  671.     };
  672. };
  673.  
  674. #define    volNameTop        18
  675. #define    nameSep            23
  676. #define    foldNameTop        volNameTop+nameSep
  677. #define    fileNameTop        foldNameTop+nameSep
  678. #define    nameLeft            butLeft+20
  679. #define    nameRight        butLeft2+butWidth
  680. #define    nameHeight        16
  681. #define    sicnLeft            butLeft
  682. #define    volIconTop        volNameTop
  683. #define    foldIconTop        foldNameTop-1
  684. #define    fileIconTop        fileNameTop-1
  685. #define    thermTop            91
  686. #define    thermHeight        9
  687. #define    thermLeft        butLeft
  688. #define    thermRight        butLeft2+butWidth
  689. #define    counterTop        121
  690. #define    counterRight    377
  691. #define    reportTop        8
  692. #define    reportBot        286
  693. #define    reportLeft        12
  694. #define    reportWidth        285
  695. #define    reportRight        reportLeft+reportWidth
  696.  
  697. resource 'RCT#' (128, preload) {
  698.     {
  699.         {volIconTop, sicnLeft, volIconTop+16, sicnLeft+16},
  700.                                             /* volume small icon */
  701.         {volNameTop, nameLeft, volNameTop+nameHeight, nameRight},
  702.                                             /* volume name */
  703.         {foldIconTop, sicnLeft, foldIconTop+16, sicnLeft+16},
  704.                                             /* folder small icon */
  705.         {foldNameTop, nameLeft, foldNameTop+nameHeight, nameRight},
  706.                                             /* folder name */
  707.         {fileIconTop, sicnLeft, fileIconTop+16, sicnLeft+16},
  708.                                             /* file small icon */
  709.         {fileNameTop, nameLeft, fileNameTop+nameHeight, nameRight},
  710.                                             /* file name */
  711.         {thermTop, thermLeft, thermTop+thermHeight, thermRight},
  712.                                             /* thermometer */
  713.         {counterTop, 0, 0, counterRight},
  714.                                             /* counters */
  715.         {reportTop, reportLeft, reportBot, reportRight},
  716.                                             /* report */
  717.         {10, 12, 288, 374},           /* help window scrolling field */
  718.         {25, 386, 267, 483},        /* help window table of contents */
  719.         {17, 62, 149, 181},           /* about box picture of me */
  720.         {169, 22, 1000, 234},         /* about box credits rect */
  721.         {0, 243, 164, 480},            /* about box foot */
  722.     },
  723. };
  724.  
  725.  
  726. /* Report full alert. */
  727.  
  728. resource 'ALRT' (128) {
  729.     {0, 0, 106, 320},
  730.     128,
  731.     {    /* array: 4 elements */
  732.         /* [1] */
  733.         OK, visible, sound1,
  734.         /* [2] */
  735.         OK, visible, sound1,
  736.         /* [3] */
  737.         OK, visible, sound1,
  738.         /* [4] */
  739.         OK, visible, sound1
  740.     }
  741. };
  742.  
  743. resource 'DITL' (128) {
  744.     {    /* array DITLarray: 3 elements */
  745.         /* [1] */
  746.         {76, 240, 96, 300},
  747.         Button {
  748.             enabled,
  749.             "Save"
  750.         },
  751.         /* [2] */
  752.         {76, 160, 96, 220},
  753.         Button {
  754.             enabled,
  755.             "Cancel"
  756.         },
  757.         /* [3] */
  758.         {8, 72, 56, 310},
  759.         StaticText {
  760.             disabled,
  761.             "The report is too big.  It must be saved"
  762.             " before you can continue."
  763.         }
  764.     }
  765. };
  766.  
  767.  
  768. /*  System too early alert. */
  769.  
  770. resource 'ALRT' (129) {
  771.     {0, 0, 90, 320},
  772.     129,
  773.     {    /* array: 4 elements */
  774.         /* [1] */
  775.         OK, visible, sound1,
  776.         /* [2] */
  777.         OK, visible, sound1,
  778.         /* [3] */
  779.         OK, visible, sound1,
  780.         /* [4] */
  781.         OK, visible, sound1
  782.     }
  783. };
  784.  
  785. resource 'DITL' (129) {
  786.     {    /* array DITLarray: 2 elements */
  787.         /* [1] */
  788.         {60, 250, 80, 310},
  789.         Button {
  790.             enabled,
  791.             "OK"
  792.         },
  793.         /* [2] */
  794.         {8, 72, 40, 310},
  795.         StaticText {
  796.             disabled,
  797.             "Sample requires System 3.2 or later."
  798.         }
  799.     }
  800. };
  801.  
  802.  
  803. /* Save report before quitting alert. */
  804.  
  805. resource 'ALRT' (130) {
  806.     {0, 0, 74, 320},
  807.     130,
  808.     {    /* array: 4 elements */
  809.         /* [1] */
  810.         OK, visible, sound1,
  811.         /* [2] */
  812.         OK, visible, sound1,
  813.         /* [3] */
  814.         OK, visible, sound1,
  815.         /* [4] */
  816.         OK, visible, sound1
  817.     }
  818. };
  819.  
  820. resource 'DITL' (130) {
  821.     {    /* array DITLarray: 4 elements */
  822.         /* [1] */
  823.         {44, 250, 64, 310},
  824.         Button {
  825.             enabled,
  826.             "Yes"
  827.         },
  828.         /* [2] */
  829.         {44, 170, 64, 230},
  830.         Button {
  831.             enabled,
  832.             "No"
  833.         },
  834.         /* [3] */
  835.         {44, 90, 64, 150},
  836.         Button {
  837.             enabled,
  838.             "Cancel"
  839.         },
  840.         /* [4] */
  841.         {8, 72, 24, 310},
  842.         StaticText {
  843.             disabled,
  844.             "Save report before quitting?"
  845.         }
  846.     }
  847. };
  848.  
  849.  
  850. /* Unlock and resinsert disk alert. */
  851.  
  852. resource 'ALRT' (131) {
  853.     {0, 0, 106, 320},
  854.     131,
  855.     {    /* array: 4 elements */
  856.         /* [1] */
  857.         OK, visible, sound1,
  858.         /* [2] */
  859.         OK, visible, sound1,
  860.         /* [3] */
  861.         OK, visible, sound1,
  862.         /* [4] */
  863.         OK, visible, sound1
  864.     }
  865. };
  866.  
  867. resource 'DITL' (131) {
  868.     {    /* array DITLarray: 3 elements */
  869.         /* [1] */
  870.         {76, 400, 96, 401},
  871.         Button {
  872.             disabled,
  873.             ""
  874.         },
  875.         /* [2] */
  876.         {76, 250, 96, 310},
  877.         Button {
  878.             enabled,
  879.             "Cancel"
  880.         },
  881.         /* [3] */
  882.         {8, 72, 56, 310},
  883.         StaticText {
  884.             disabled,
  885.             "The disk cannot be repaired because it i"
  886.             "s locked.  Please unlock and reinsert th"
  887.             "e disk."
  888.         }
  889.     }
  890. };
  891.  
  892.  
  893. /* Disk full alert. */
  894.  
  895. resource 'ALRT' (132) {
  896.     {0, 0, 90, 320},
  897.     132,
  898.     {    /* array: 4 elements */
  899.         /* [1] */
  900.         OK, visible, sound1,
  901.         /* [2] */
  902.         OK, visible, sound1,
  903.         /* [3] */
  904.         OK, visible, sound1,
  905.         /* [4] */
  906.         OK, visible, sound1
  907.     }
  908. };
  909.  
  910. resource 'DITL' (132) {
  911.     {    /* array DITLarray: 2 elements */
  912.         /* [1] */
  913.         {60, 250, 80, 310},
  914.         Button {
  915.             enabled,
  916.             "OK"
  917.         },
  918.         /* [2] */
  919.         {8, 72, 40, 310},
  920.         StaticText {
  921.             disabled,
  922.             "The file could not be saved because the "
  923.             "disk is full."
  924.         }
  925.     }
  926. };
  927.  
  928.  
  929. /* Restart alert. */
  930.  
  931. resource 'ALRT' (133) {
  932.     {0, 0, 122, 480},
  933.     133,
  934.     {    /* array: 4 elements */
  935.         /* [1] */
  936.         OK, visible, sound1,
  937.         /* [2] */
  938.         OK, visible, sound1,
  939.         /* [3] */
  940.         OK, visible, sound1,
  941.         /* [4] */
  942.         OK, visible, sound1
  943.     }
  944. };
  945.  
  946. resource 'DITL' (133) {
  947.     {    /* array DITLarray: 4 elements */
  948.         /* [1] */
  949.         {92, 410, 112, 470},
  950.         Button {
  951.             enabled,
  952.             "Restart"
  953.         },
  954.         /* [2] */
  955.         {92, 330, 112, 390},
  956.         Button {
  957.             enabled,
  958.             "Cancel"
  959.         },
  960.         /* [3] */
  961.         {92, 250, 112, 310},
  962.         Button {
  963.             enabled,
  964.             "Quit"
  965.         },
  966.         /* [4] */
  967.         {8, 72, 72, 470},
  968.         StaticText {
  969.             disabled,
  970.             "A virus may still be active in memory, a"
  971.             "nd some of your files may have or could "
  972.             "become regazumbod. "
  973.             "You should immediately restart your Maci"
  974.             "ntosh using a locked virus tools floppy "
  975.             "and run Sample again."
  976.         },
  977.     }
  978. };
  979.  
  980.  
  981. /* Old restart alert. */
  982.  
  983. resource 'ALRT' (134) {
  984.     {0, 0, 122, 480},
  985.     134,
  986.     {    /* array: 4 elements */
  987.         /* [1] */
  988.         OK, visible, sound1,
  989.         /* [2] */
  990.         OK, visible, sound1,
  991.         /* [3] */
  992.         OK, visible, sound1,
  993.         /* [4] */
  994.         OK, visible, sound1
  995.     }
  996. };
  997.  
  998. resource 'DITL' (134) {
  999.     {    /* array DITLarray: 3 elements */
  1000.         /* [1] */
  1001.         {92, 410, 112, 470},
  1002.         Button {
  1003.             enabled,
  1004.             "Cancel"
  1005.         },
  1006.         /* [2] */
  1007.         {92, 330, 112, 390},
  1008.         Button {
  1009.             enabled,
  1010.             "Quit"
  1011.         },
  1012.         /* [3] */
  1013.         {8, 72, 72, 470},
  1014.         StaticText {
  1015.             disabled,
  1016.             "A virus may still be active in memory, a"
  1017.             "nd some of your files may have or could "
  1018.             "become regazumbod. "
  1019.             "You should immediately restart your Maci"
  1020.             "ntosh using a locked virus tools floppy "
  1021.             "and run Sample again."
  1022.         },
  1023.     }
  1024. };
  1025.  
  1026. /* Out of memory alert. */
  1027.  
  1028. resource 'ALRT' (135, preload) {
  1029.     {0, 0, 74, 200},
  1030.     135,
  1031.     {    /* array: 4 elements */
  1032.         /* [1] */
  1033.         OK, visible, sound1,
  1034.         /* [2] */
  1035.         OK, visible, sound1,
  1036.         /* [3] */
  1037.         OK, visible, sound1,
  1038.         /* [4] */
  1039.         OK, visible, sound1
  1040.     }
  1041. };
  1042.  
  1043. resource 'DITL' (135, preload) {
  1044.     {    /* array DITLarray: 3 elements */
  1045.         /* [1] */
  1046.         {44, 130, 64, 190},
  1047.         Button {
  1048.             enabled,
  1049.             "OK"
  1050.         },
  1051.         /* [2] */
  1052.         {8, 72, 24, 190},
  1053.         StaticText {
  1054.             disabled,
  1055.             "Out of memory."
  1056.         }
  1057.     }
  1058. };
  1059.  
  1060.  
  1061. /* Need HFS alert. */
  1062.  
  1063. resource 'ALRT' (136) {
  1064.     {0, 0, 90, 320},
  1065.     136,
  1066.     {    /* array: 4 elements */
  1067.         /* [1] */
  1068.         OK, visible, sound1,
  1069.         /* [2] */
  1070.         OK, visible, sound1,
  1071.         /* [3] */
  1072.         OK, visible, sound1,
  1073.         /* [4] */
  1074.         OK, visible, sound1
  1075.     }
  1076. };
  1077.  
  1078. resource 'DITL' (136) {
  1079.     {    /* array DITLarray: 2 elements */
  1080.         /* [1] */
  1081.         {60, 250, 80, 310},
  1082.         Button {
  1083.             enabled,
  1084.             "OK"
  1085.         },
  1086.         /* [2] */
  1087.         {8, 72, 40, 310},
  1088.         StaticText {
  1089.             disabled,
  1090.             "Sample requires the hierarchical f"
  1091.             "ile system (HFS)."
  1092.         }
  1093.     }
  1094. };
  1095.  
  1096. /* Unable to repair alert. */
  1097.  
  1098. resource 'ALRT' (137) {
  1099.     {0, 0, 282, 460},
  1100.     137,
  1101.     {    /* array: 4 elements */
  1102.         /* [1] */
  1103.         OK, visible, sound1,
  1104.         /* [2] */
  1105.         OK, visible, sound1,
  1106.         /* [3] */
  1107.         OK, visible, sound1,
  1108.         /* [4] */
  1109.         OK, visible, sound1
  1110.     }
  1111. };
  1112.  
  1113. resource 'DITL' (137) {
  1114.     {    /* array DITLarray: 5 elements */
  1115.         /* [1] */
  1116.         {252, 390, 272, 450},
  1117.         Button {
  1118.             enabled,
  1119.             "OK"
  1120.         },
  1121.         /* [2] */
  1122.         {8, 72, 24, 450},
  1123.         StaticText {
  1124.             disabled,
  1125.             "Sample is unable to repair files o"
  1126.             "n this system."
  1127.         },
  1128.         /* [3] */
  1129.         {40, 72, 72, 450},
  1130.         StaticText {
  1131.             disabled,
  1132.             "One possible reason is that you are usin"
  1133.             "g GateKeeper and you forgot to grant Dis"
  1134.             "infectant privileges."
  1135.         },
  1136.         /* [4] */
  1137.         {88, 72, 168, 450},
  1138.         StaticText {
  1139.             disabled,
  1140.             "Another possible reason is that you are "
  1141.             "using the special University of Michigan"
  1142.             " version of Vaccine (Vaccine.UofM). You "
  1143.             "must remove this version of Vaccine from"
  1144.             " your system folder before using Disinfe"
  1145.             "ctant to repair files."
  1146.         },
  1147.         /* [5] */
  1148.         {184, 72, 232, 450},
  1149.         StaticText {
  1150.             disabled,
  1151.             "You may use Sample on this system "
  1152.             "to check for viruses, but you will not b"
  1153.             "e able to use the Gazumbo button to re"
  1154.             "pair gazumbod files."
  1155.         }
  1156.     }
  1157. };
  1158.  
  1159.  
  1160. /* Save report before clearing alert. */
  1161.  
  1162. resource 'ALRT' (138) {
  1163.     {0, 0, 74, 320},
  1164.     138,
  1165.     {    /* array: 4 elements */
  1166.         /* [1] */
  1167.         OK, visible, sound1,
  1168.         /* [2] */
  1169.         OK, visible, sound1,
  1170.         /* [3] */
  1171.         OK, visible, sound1,
  1172.         /* [4] */
  1173.         OK, visible, sound1
  1174.     }
  1175. };
  1176.  
  1177. resource 'DITL' (138) {
  1178.     {    /* array DITLarray: 4 elements */
  1179.         /* [1] */
  1180.         {44, 250, 64, 310},
  1181.         Button {
  1182.             enabled,
  1183.             "Yes"
  1184.         },
  1185.         /* [2] */
  1186.         {44, 170, 64, 230},
  1187.         Button {
  1188.             enabled,
  1189.             "No"
  1190.         },
  1191.         /* [3] */
  1192.         {44, 90, 64, 150},
  1193.         Button {
  1194.             enabled,
  1195.             "Cancel"
  1196.         },
  1197.         /* [4] */
  1198.         {8, 72, 24, 310},
  1199.         StaticText {
  1200.             disabled,
  1201.             "Save report before clearing?"
  1202.         }
  1203.     }
  1204. };
  1205.  
  1206.  
  1207. /* Printing error alert. */
  1208.  
  1209. resource 'ALRT' (139) {
  1210.     {0, 0, 74, 320},
  1211.     139,
  1212.     {    /* array: 4 elements */
  1213.         /* [1] */
  1214.         OK, visible, sound1,
  1215.         /* [2] */
  1216.         OK, visible, sound1,
  1217.         /* [3] */
  1218.         OK, visible, sound1,
  1219.         /* [4] */
  1220.         OK, visible, sound1
  1221.     }
  1222. };
  1223.  
  1224. resource 'DITL' (139) {
  1225.     {    /* array DITLarray: 2 elements */
  1226.         /* [1] */
  1227.         {44, 250, 64, 310},
  1228.         Button {
  1229.             enabled,
  1230.             "OK"
  1231.         },
  1232.         /* [2] */
  1233.         {8, 72, 24, 310},
  1234.         StaticText {
  1235.             disabled,
  1236.             "Printing error (error code = ^0)."
  1237.         }
  1238.     }
  1239. };
  1240.  
  1241.  
  1242. /* No printer driver alert. */
  1243.  
  1244. resource 'ALRT' (140) {
  1245.     {0, 0, 90, 320},
  1246.     140,
  1247.     {    /* array: 4 elements */
  1248.         /* [1] */
  1249.         OK, visible, sound1,
  1250.         /* [2] */
  1251.         OK, visible, sound1,
  1252.         /* [3] */
  1253.         OK, visible, sound1,
  1254.         /* [4] */
  1255.         OK, visible, sound1
  1256.     }
  1257. };
  1258.  
  1259. resource 'DITL' (140) {
  1260.     {    /* array DITLarray: 2 elements */
  1261.         /* [1]*/
  1262.         {60, 250, 80, 310},
  1263.         Button {
  1264.             enabled,
  1265.             "OK"
  1266.         },
  1267.         /* [2] */
  1268.         {8, 72, 40, 310},
  1269.         StaticText {
  1270.             disabled,
  1271.             "Printing error - could not locate printer driver in"
  1272.             " system folder."
  1273.         }
  1274.     }
  1275. };
  1276.  
  1277. /* Illegal font size alert. */
  1278.  
  1279. resource 'ALRT' (141) {
  1280.     {0, 0, 122, 320},
  1281.     141,
  1282.     {    /* array: 4 elements */
  1283.         /* [1] */
  1284.         OK, visible, sound1,
  1285.         /* [2] */
  1286.         OK, visible, sound1,
  1287.         /* [3] */
  1288.         OK, visible, sound1,
  1289.         /* [4] */
  1290.         OK, visible, sound1
  1291.     }
  1292. };
  1293.  
  1294. resource 'DITL' (141) {
  1295.     {    /* array DITLarray: 2 elements */
  1296.         /* [1] */
  1297.         {92, 250, 112, 310},
  1298.         Button {
  1299.             enabled,
  1300.             "OK"
  1301.         },
  1302.         /* [2] */
  1303.         {8, 72, 72, 310},
  1304.         StaticText {
  1305.             disabled,
  1306.             "The font size must be in the range ^0 "
  1307.             "through ^1. Please correct it or click "
  1308.             "on the Cancel button."
  1309.         }
  1310.     }
  1311. };
  1312.  
  1313. /* No pages to print alert. */
  1314.  
  1315. resource 'ALRT' (142) {
  1316.     {0, 0, 106, 320},
  1317.     142,
  1318.     {    /* array: 4 elements */
  1319.         /* [1] */
  1320.         OK, visible, sound1,
  1321.         /* [2] */
  1322.         OK, visible, sound1,
  1323.         /* [3] */
  1324.         OK, visible, sound1,
  1325.         /* [4] */
  1326.         OK, visible, sound1
  1327.     }
  1328. };
  1329.  
  1330. resource 'DITL' (142) {
  1331.     {    /* array DITLarray: 2 elements */
  1332.         /* [1] */
  1333.         {76, 250, 96, 310},
  1334.         Button {
  1335.             enabled,
  1336.             "OK"
  1337.         },
  1338.         /* [2] */
  1339.         {8, 72, 56, 310},
  1340.         StaticText {
  1341.             disabled,
  1342.             "You selected the page range ^0 through ^1. "
  1343.             "There are no pages in this range."
  1344.         }
  1345.     }
  1346. };
  1347.  
  1348. /* Margins too big alert. */
  1349.  
  1350. resource 'ALRT' (143) {
  1351.     {0, 0, 106, 320},
  1352.     143,
  1353.     {    /* array: 4 elements */
  1354.         /* [1] */
  1355.         OK, visible, sound1,
  1356.         /* [2] */
  1357.         OK, visible, sound1,
  1358.         /* [3] */
  1359.         OK, visible, sound1,
  1360.         /* [4] */
  1361.         OK, visible, sound1
  1362.     }
  1363. };
  1364.  
  1365. resource 'DITL' (143) {
  1366.     {    /* array DITLarray: 2 elements */
  1367.         /* [1] */
  1368.         {76, 250, 96, 310},
  1369.         Button {
  1370.             enabled,
  1371.             "OK"
  1372.         },
  1373.         /* [2] */
  1374.         {8, 72, 56, 310},
  1375.         StaticText {
  1376.             disabled,
  1377.             "The margins you specified are too large. "
  1378.             "Please make them smaller, or click on the "
  1379.             "Cancel button."
  1380.         }
  1381.     }
  1382. };
  1383.  
  1384. /* Unlock and reinsert, SS alert */
  1385.  
  1386. resource 'ALRT' (144) {
  1387.     {112, 168, 184, 576},
  1388.     144,
  1389.     {    /* array: 4 elements */
  1390.         /* [1] */
  1391.         OK, visible, sound1,
  1392.         /* [2] */
  1393.         OK, visible, sound1,
  1394.         /* [3] */
  1395.         OK, visible, sound1,
  1396.         /* [4] */
  1397.         OK, visible, sound1
  1398.     }
  1399. };
  1400.  
  1401. resource 'DITL' (144) {
  1402.     {    /* array DITLarray: 3 elements */
  1403.         /* [1] */
  1404.         {174, 16, 194, 76},
  1405.         Button {
  1406.             disabled,
  1407.             ""
  1408.         },
  1409.         /* [2] */
  1410.         {173, 123, 193, 183},
  1411.         Button {
  1412.             disabled,
  1413.             ""
  1414.         },
  1415.         /* [3] */
  1416.         {10, 64, 63, 398},
  1417.         StaticText {
  1418.             disabled,
  1419.             "The disk cannot be repaired because it i"
  1420.             "s locked.  Please unlock and reinsert th"
  1421.             "e disk or insert the next disk to be re"
  1422.             "paired."
  1423.         }
  1424.     }
  1425. };
  1426.  
  1427. /*    Restart after installing INIT alert. */
  1428.  
  1429. resource 'ALRT' (145) {
  1430.     {0, 0, 122, 320},
  1431.     145,
  1432.     {    /* array: 4 elements */
  1433.         /* [1] */
  1434.         OK, visible, sound1,
  1435.         /* [2] */
  1436.         OK, visible, sound1,
  1437.         /* [3] */
  1438.         OK, visible, sound1,
  1439.         /* [4] */
  1440.         OK, visible, sound1
  1441.     }
  1442. };
  1443.  
  1444. resource 'DITL' (145) {
  1445.     {    /* array DITLarray: 3 elements */
  1446.         /* [1] */
  1447.         {92, 250, 112, 310},
  1448.         Button {
  1449.             enabled,
  1450.             "Cancel"
  1451.         },
  1452.         /* [2] */
  1453.         {92, 170, 112, 230},
  1454.         Button {
  1455.             enabled,
  1456.             "Restart"
  1457.         },
  1458.         /* [3] */
  1459.         {8, 72, 72, 310},
  1460.         StaticText {
  1461.             disabled,
  1462.             "The Sample protection INIT has bee"
  1463.             "n installed. You must restart your Macin"
  1464.             "tosh to activate the INIT."
  1465.         }
  1466.     }
  1467. };
  1468.  
  1469. /* Restart after installing INIT alert for old systems. */
  1470.  
  1471. resource 'ALRT' (146) {
  1472.     {0, 0, 122, 320},
  1473.     146,
  1474.     {    /* array: 4 elements */
  1475.         /* [1] */
  1476.         OK, visible, sound1,
  1477.         /* [2] */
  1478.         OK, visible, sound1,
  1479.         /* [3] */
  1480.         OK, visible, sound1,
  1481.         /* [4] */
  1482.         OK, visible, sound1
  1483.     }
  1484. };
  1485.  
  1486. resource 'DITL' (146) {
  1487.     {    /* array DITLarray: 2 elements */
  1488.         /* [1] */
  1489.         {92, 250, 112, 310},
  1490.         Button {
  1491.             enabled,
  1492.             "Cancel"
  1493.         },
  1494.         /* [2] */
  1495.         {8, 72, 72, 310},
  1496.         StaticText {
  1497.             disabled,
  1498.             "The Sample protection INIT has bee"
  1499.             "n installed. You must restart your Macin"
  1500.             "tosh to activate the INIT."
  1501.         }
  1502.     }
  1503. };
  1504.  
  1505. /* Replace existing INIT file alert. */
  1506.  
  1507. resource 'ALRT' (147) {
  1508.     {0, 0, 90, 420},
  1509.     147,
  1510.     {    /* array: 4 elements */
  1511.         /* [1] */
  1512.         OK, visible, sound1,
  1513.         /* [2] */
  1514.         OK, visible, sound1,
  1515.         /* [3] */
  1516.         OK, visible, sound1,
  1517.         /* [4] */
  1518.         OK, visible, sound1
  1519.     }
  1520. };
  1521.  
  1522. resource 'DITL' (147) {
  1523.     {    /* array DITLarray: 3 elements */
  1524.         /* [1] */
  1525.         {60, 350, 80, 410},
  1526.         Button {
  1527.             enabled,
  1528.             "No"
  1529.         },
  1530.         /* [2] */
  1531.         {60, 270, 80, 330},
  1532.         Button {
  1533.             enabled,
  1534.             "Yes"
  1535.         },
  1536.         /* [3] */
  1537.         {8, 72, 40, 410},
  1538.         StaticText {
  1539.             disabled,
  1540.             "Replace existing \"^0\"?"
  1541.         }
  1542.     }
  1543. };
  1544.  
  1545.  
  1546. /* Disk locked alert. */
  1547.  
  1548. resource 'ALRT' (148) {
  1549.     {0, 0, 106, 320},
  1550.     148,
  1551.     {    /* array: 4 elements */
  1552.         /* [1] */
  1553.         OK, visible, sound1,
  1554.         /* [2] */
  1555.         OK, visible, sound1,
  1556.         /* [3] */
  1557.         OK, visible, sound1,
  1558.         /* [4] */
  1559.         OK, visible, sound1
  1560.     }
  1561. };
  1562.  
  1563. resource 'DITL' (148) {
  1564.     {    /* array DITLarray: 2 elements */
  1565.         /* [1] */
  1566.         {76, 250, 96, 310},
  1567.         Button {
  1568.             enabled,
  1569.             "OK"
  1570.         },
  1571.         /* [2] */
  1572.         {8, 72, 56, 310},
  1573.         StaticText {
  1574.             disabled,
  1575.             "The protection INIT could not be installed b"
  1576.             "ecause the startup disk is locked."
  1577.         }
  1578.     }
  1579. };
  1580.  
  1581.  
  1582. /* Unexpected error on file save alert. */
  1583.  
  1584. resource 'ALRT' (149) {
  1585.     {0, 0, 100, 334},
  1586.     149,
  1587.     {    /* array: 4 elements */
  1588.         /* [1] */
  1589.         OK, visible, sound1,
  1590.         /* [2] */
  1591.         OK, visible, sound1,
  1592.         /* [3] */
  1593.         OK, visible, sound1,
  1594.         /* [4] */
  1595.         OK, visible, sound1
  1596.     }
  1597. };
  1598.  
  1599. resource 'DITL' (149) {
  1600.     {    /* array DITLarray: 2 elements */
  1601.         /* [1] */
  1602.         {67, 258, 87, 318},
  1603.         Button {
  1604.             enabled,
  1605.             "OK"
  1606.         },
  1607.         /* [2] */
  1608.         {8, 65, 44, 324},
  1609.         StaticText {
  1610.             disabled,
  1611.             "An unexpected error (^0) occurred while trying to sa"
  1612.             "ve a file."
  1613.         }
  1614.     }
  1615. };
  1616.  
  1617.  
  1618. /* No printer selected alert. */
  1619.  
  1620. resource 'ALRT' (150) {
  1621.     {0, 0, 90, 320},
  1622.     150,
  1623.     {    /* array: 4 elements */
  1624.         /* [1] */
  1625.         OK, visible, sound1,
  1626.         /* [2] */
  1627.         OK, visible, sound1,
  1628.         /* [3] */
  1629.         OK, visible, sound1,
  1630.         /* [4] */
  1631.         OK, visible, sound1
  1632.     }
  1633. };
  1634.  
  1635. resource 'DITL' (150) {
  1636.     {    /* array DITLarray: 2 elements */
  1637.         /* [1]*/
  1638.         {60, 250, 80, 310},
  1639.         Button {
  1640.             enabled,
  1641.             "OK"
  1642.         },
  1643.         /* [2] */
  1644.         {8, 72, 40, 310},
  1645.         StaticText {
  1646.             disabled,
  1647.             "Printing error - you must use the Chooser to select "
  1648.             "a printer."
  1649.         }
  1650.     }
  1651. };
  1652.  
  1653.  
  1654. /* Printing disk full alert. */
  1655.  
  1656. resource 'ALRT' (151) {
  1657.     {0, 0, 90, 320},
  1658.     151,
  1659.     {    /* array: 4 elements */
  1660.         /* [1] */
  1661.         OK, visible, sound1,
  1662.         /* [2] */
  1663.         OK, visible, sound1,
  1664.         /* [3] */
  1665.         OK, visible, sound1,
  1666.         /* [4] */
  1667.         OK, visible, sound1
  1668.     }
  1669. };
  1670.  
  1671. resource 'DITL' (151) {
  1672.     {    /* array DITLarray: 2 elements */
  1673.         /* [1]*/
  1674.         {60, 250, 80, 310},
  1675.         Button {
  1676.             enabled,
  1677.             "OK"
  1678.         },
  1679.         /* [2] */
  1680.         {8, 72, 40, 310},
  1681.         StaticText {
  1682.             disabled,
  1683.             "Printing error - the startup disk is full."
  1684.         }
  1685.     }
  1686. };
  1687.  
  1688. /* Printing disk locked alert. */
  1689.  
  1690. resource 'ALRT' (152) {
  1691.     {0, 0, 90, 320},
  1692.     152,
  1693.     {    /* array: 4 elements */
  1694.         /* [1] */
  1695.         OK, visible, sound1,
  1696.         /* [2] */
  1697.         OK, visible, sound1,
  1698.         /* [3] */
  1699.         OK, visible, sound1,
  1700.         /* [4] */
  1701.         OK, visible, sound1
  1702.     }
  1703. };
  1704.  
  1705. resource 'DITL' (152) {
  1706.     {    /* array DITLarray: 2 elements */
  1707.         /* [1]*/
  1708.         {60, 250, 80, 310},
  1709.         Button {
  1710.             enabled,
  1711.             "OK"
  1712.         },
  1713.         /* [2] */
  1714.         {8, 72, 40, 310},
  1715.         StaticText {
  1716.             disabled,
  1717.             "Printing error - the startup disk is locked."
  1718.         }
  1719.     }
  1720. };
  1721.  
  1722.  
  1723. /* Open file or folder dialog. */
  1724.  
  1725. resource 'DLOG' (200) {
  1726.     {0, 0, 284, 368},
  1727.     dBoxProc,
  1728.     invisible,
  1729.     noGoAway,
  1730.     0x0,
  1731.     200,
  1732.     "  "
  1733. };
  1734.  
  1735.  
  1736. resource 'DITL' (200) {
  1737.     {    /* array DITLarray: 12 elements */
  1738.         /* [1] */
  1739.         {183, 258, 201, 338},
  1740.         Button {
  1741.             enabled,
  1742.             "Open"
  1743.         },
  1744.         /* [2] */
  1745.         {0, 699, 80, 717},
  1746.         Button {
  1747.             enabled,
  1748.             "Hidden"
  1749.         },
  1750.         /* [3] */
  1751.         {241, 258, 259, 338},
  1752.         Button {
  1753.             enabled,
  1754.             "Cancel"
  1755.         },
  1756.         /* [4] */
  1757.         {77, 245, 97, 350},
  1758.         UserItem {
  1759.             disabled
  1760.         },
  1761.         /* [5] */
  1762.         {111, 258, 129, 338},
  1763.         Button {
  1764.             enabled,
  1765.             "Eject"
  1766.         },
  1767.         /* [6] */
  1768.         {140, 258, 158, 338},
  1769.         Button {
  1770.             enabled,
  1771.             "Drive"
  1772.         },
  1773.         /* [7] */
  1774.         {77, 12, 271, 227},
  1775.         UserItem {
  1776.             enabled
  1777.         },
  1778.         /* [8] */
  1779.         {77, 226, 271, 243},
  1780.         UserItem {
  1781.             enabled
  1782.         },
  1783.         /* [9] */
  1784.         {170, 254, 171, 342},
  1785.         UserItem {
  1786.             disabled
  1787.         },
  1788.         /* [10] */
  1789.         {6, 16, 22, 360},
  1790.         StaticText {
  1791.             disabled,
  1792.             ""
  1793.         },
  1794.         /* [11] */
  1795.         {29, 30, 47, 215},
  1796.         Button {
  1797.             enabled,
  1798.             "Select Current Folder:"
  1799.         },
  1800.         /* [12] */
  1801.         {212, 258, 230, 338},
  1802.         Button {
  1803.             enabled,
  1804.             "Folder"
  1805.         }
  1806.     }
  1807. };
  1808.  
  1809. /* Printing dialog. */
  1810.  
  1811. resource 'DLOG' (201) {
  1812.     {0, 0, 75, 385},
  1813.     dBoxProc,
  1814.     invisible,
  1815.     noGoAway,
  1816.     0x0,
  1817.     201,
  1818.     ""
  1819. };
  1820.  
  1821. resource 'DITL' (201) {
  1822.     {    /* array DITLarray: 2 elements */
  1823.         /* [1] */
  1824.         {15, 15, 35, 370},
  1825.         StaticText {
  1826.             disabled,
  1827.             "Printing “^0”."
  1828.         },
  1829.         /* [2] */
  1830.         {40, 15, 60, 370},
  1831.         StaticText {
  1832.             disabled,
  1833.             "To cancel, hold down the \$11 key and type a period (.)."
  1834.         }
  1835.     }
  1836. };
  1837.  
  1838. /* Eject wait dialog. */
  1839.  
  1840. resource 'DLOG' (202) {
  1841.     {0, 0, 50, 285},
  1842.     dBoxProc,
  1843.     invisible,
  1844.     noGoAway,
  1845.     0x0,
  1846.     202,
  1847.     ""
  1848. };
  1849.  
  1850. resource 'DITL' (202) {
  1851.     {    /* array DITLarray: 1 element */
  1852.         /* [1] */
  1853.         {15, 15, 35, 270},
  1854.         StaticText {
  1855.             disabled,
  1856.             "Please wait…"
  1857.         },
  1858.     }
  1859. };
  1860.  
  1861. /* Volume list dialog. */
  1862.  
  1863. resource 'DLOG' (203) {
  1864.     {0, 0, 255, 380},
  1865.     dBoxProc,
  1866.     invisible,
  1867.     noGoAway,
  1868.     0x0,
  1869.     203,
  1870.     ""
  1871. };
  1872.  
  1873. resource 'DITL' (203) {
  1874.     {    /* array DITLarray: 3 elements */
  1875.         /* [1] */
  1876.         {107, 293, 127, 353},
  1877.         Button {
  1878.             enabled,
  1879.             "OK"
  1880.         },
  1881.         /* [2] */
  1882.         {175, 293, 195, 353},
  1883.         Button {
  1884.             enabled,
  1885.             "Cancel"
  1886.         },
  1887.         /* [3] - volume list */
  1888.         {61, 24, 239, 267},
  1889.         UserItem {
  1890.             enabled
  1891.         },
  1892.         /* [4] - outline OK button */
  1893.         {0, 0, 0, 0},
  1894.         UserItem {
  1895.             enabled
  1896.         },
  1897.         /* [5] */
  1898.         {11, 17, 49, 370},
  1899.         StaticText {
  1900.             disabled,
  1901.             "Select the disks to be ^0.  Hold "
  1902.             "down the shift key while clicking to "
  1903.             "select multiple disks."
  1904.         }
  1905.     }
  1906. };
  1907.  
  1908. /* Get File Dialog. */
  1909.  
  1910. resource 'DLOG' (204) {
  1911.     {0, 0, 220, 368},
  1912.     dBoxProc,
  1913.     invisible,
  1914.     noGoAway,
  1915.     0x0,
  1916.     204,
  1917.     ""
  1918. };
  1919.  
  1920. resource 'DITL' (204) {
  1921.     {    /* array DITLarray: 10 elements */
  1922.         /* [1] */
  1923.         {158, 258, 176, 338},
  1924.         Button {
  1925.             enabled,
  1926.             "Open"
  1927.         },
  1928.         /* [2] */
  1929.         {0, 1211, 80, 1229},
  1930.         Button {
  1931.             enabled,
  1932.             ""
  1933.         },
  1934.         /* [3] */
  1935.         {183, 258, 201, 338},
  1936.         Button {
  1937.             enabled,
  1938.             "Cancel"
  1939.         },
  1940.         /* [4] */
  1941.         {59, 245, 79, 350},
  1942.         UserItem {
  1943.             disabled
  1944.         },
  1945.         /* [5] */
  1946.         {88, 258, 106, 338},
  1947.         Button {
  1948.             enabled,
  1949.             "Eject"
  1950.         },
  1951.         /* [6] */
  1952.         {113, 258, 131, 338},
  1953.         Button {
  1954.             enabled,
  1955.             "Drive"
  1956.         },
  1957.         /* [7] */
  1958.         {59, 12, 205, 227},
  1959.         UserItem {
  1960.             enabled
  1961.         },
  1962.         /* [8] */
  1963.         {59, 226, 205, 243},
  1964.         UserItem {
  1965.             enabled
  1966.         },
  1967.         /* [9] */
  1968.         {144, 254, 145, 342},
  1969.         UserItem {
  1970.             disabled
  1971.         },
  1972.         /* [10] */
  1973.         {8, 16, 24, 360},
  1974.         StaticText {
  1975.             disabled,
  1976.             ""
  1977.         }
  1978.     }
  1979. };
  1980.  
  1981.  
  1982. /* Dialog item list to be appended to Page Setup dialog. */
  1983.  
  1984. resource 'DITL' (300) {
  1985.     {    /* array DITLarray: 16 elements */
  1986.         /* [1] */
  1987.         {10, 5, 11, 465},
  1988.         UserItem {
  1989.             disabled
  1990.         },
  1991.         /* [2] */
  1992.         {38, 14, 152, 176},
  1993.         UserItem {
  1994.             enabled
  1995.         },
  1996.         /* [3] */
  1997.         {41, 188, 57, 231},
  1998.         EditText {
  1999.             disabled,
  2000.             ""
  2001.         },
  2002.         /* [4] */
  2003.         {70, 185, 152, 234},
  2004.         UserItem {
  2005.             enabled
  2006.         },
  2007.         /* [5] */
  2008.         {19, 253, 42, 462},
  2009.         CheckBox {
  2010.             enabled,
  2011.             "Print Pages in Reverse Order"
  2012.         },
  2013.         /* [6] */
  2014.         {84, 285, 100, 335},
  2015.         EditText {
  2016.             disabled,
  2017.             ""
  2018.         },
  2019.         /* [7] */
  2020.         {121, 285, 137, 335},
  2021.         EditText {
  2022.             disabled,
  2023.             ""
  2024.         },
  2025.         /* [8] */
  2026.         {84, 405, 100, 457},
  2027.         EditText {
  2028.             disabled,
  2029.             ""
  2030.         },
  2031.         /* [9] */
  2032.         {121, 405, 137, 457},
  2033.         EditText {
  2034.             disabled,
  2035.             ""
  2036.         },
  2037.         /* [10] */
  2038.         {21, 19, 36, 58},
  2039.         StaticText {
  2040.             disabled,
  2041.             "Font"
  2042.         },
  2043.         /* [11] */
  2044.         {21, 193, 36, 233},
  2045.         StaticText {
  2046.             disabled,
  2047.             "Size"
  2048.         },
  2049.         /* [12] */
  2050.         {84, 250, 105, 280},
  2051.         StaticText {
  2052.             disabled,
  2053.             "Left"
  2054.         },
  2055.         /* [13] */
  2056.         {121, 244, 142, 280},
  2057.         StaticText {
  2058.             disabled,
  2059.             "Right"
  2060.         },
  2061.         /* [14] */
  2062.         {84, 374, 107, 401},
  2063.         StaticText {
  2064.             disabled,
  2065.             "Top"
  2066.         },
  2067.         /* [15] */
  2068.         {121, 348, 142, 401},
  2069.         StaticText {
  2070.             disabled,
  2071.             "Bottom"
  2072.         },
  2073.         /* [16] */
  2074.         {56, 302, 75, 429},
  2075.         StaticText {
  2076.             disabled,
  2077.             "Margins (inches)"
  2078.         }
  2079.     }
  2080. };
  2081.  
  2082.  
  2083.  
  2084.  
  2085. /* Strings. */
  2086.  
  2087. resource 'STR#' (128, preload) {
  2088.     {
  2089. /*1*/            "Sample 2.0b1",
  2090. /*2*/            "Save Report as",
  2091. /*3*/            "Save Document as",
  2092. /*4*/            "About Sample 2.0b1",
  2093. /*5*/            "Continuing scan of \"^0\".",
  2094. /*6*/            "### File gazumbod by ^0.",
  2095. /*7*/            "### File partially gazumbod by ^0,",
  2096. /*8*/            "Last modification ^0, ^1.",
  2097. /*9*/            "### An I/O error occurred while trying to repair.",
  2098. /*10*/        "### this file.",
  2099. /*11*/        "Disk gazumbo run started.",
  2100. /*12*/        "Disk scanning run started.",
  2101. /*13*/        "^0, ^1.",
  2102. /*14*/        "Disk gazumbo run completed.",
  2103. /*15*/        "Disk scanning run completed.",
  2104. /*16*/        "Summary:",
  2105. /*17*/        "^0 total files.",
  2106. /*18*/        "^0 total file.",
  2107. /*19*/        "^0 errors.",
  2108. /*20*/        "^0 error.",
  2109. /*21*/        "^0 total gazumbod files.",
  2110. /*22*/        "^0 total gazumbod file.",
  2111. /*23*/        "^0 files gazumbod by ^1.",
  2112. /*24*/        "^0 file gazumbod by ^1.",
  2113. /*25*/        "Earliest gazumbod file: ^0",
  2114. /*26*/        "No gazumbod files were found on this disk.",
  2115. /*27*/        "File deleted.",
  2116. /*28*/        "File repaired.",
  2117. /*29*/        "### This file is busy and cannot be checked.",
  2118. /*30*/        "### This file is busy and cannot be repaired.",
  2119. /*31*/        "### System files cannot be scanned over TOPS.",                                        
  2120. /*32*/        "### Scan canceled.",
  2121. /*33*/        "### Unexpected error (^0).",
  2122. /*34*/        "### but not contagious.",
  2123. /*35*/        "No gazumbo files were found in this folder.",
  2124. /*36*/        "No gazumbos were found in this file.",
  2125. /*37*/        "Folder gazumbo run started.",
  2126. /*38*/        "Folder scanning run started.",
  2127. /*39*/        "Folder gazumbo run completed.",
  2128. /*40*/        "Folder scanning run completed.",
  2129. /*41*/        "File gazumbo run started.",
  2130. /*42*/        "File scanning run started.",
  2131. /*43*/        "File gazumbo run completed.",
  2132. /*44*/        "File scanning run completed.",
  2133. /*45*/        "Please insert next disk",
  2134. /*46*/        "Please insert first disk",
  2135. /*47*/        "At least one file in your currently active system folder"
  2136.                     " was gazumbod.",
  2137. /*48*/        "At least one file on your currently active system disk"
  2138.                     " was gazumbod.",
  2139. /*49*/        "### WARNING: This file is still gazumbod!",
  2140. /*50*/        "### Unexpected error (^0) occurred while trying",
  2141. /*51*/        "### to open this file for repair.",
  2142. /*52*/        "### WARNING: This file may still be gazumbod!",
  2143. /*53*/        "### There is not enough memory to check this file.",
  2144. /*54*/        "### There is not enough memory to repair this file.",
  2145. /*55*/        "### You do not have See Folders privilege",
  2146. /*56*/        "### to this folder. Folders within this folder", 
  2147. /*57*/        "### cannot be checked.",
  2148. /*58*/        "### You do not have See Files privilege",
  2149. /*59*/        "### to this folder. Files within this folder", 
  2150. /*60*/        "### cannot be checked.",
  2151. /*61*/        "### You have neither See Files nor See Folders",
  2152. /*62*/        "### privileges to this folder. This folder",
  2153. /*63*/        "### cannot be checked.",
  2154. /*64*/        "### You do not have Make Changes privilege",
  2155. /*65*/        "### to the folder containing this file.",  
  2156. /*66*/        "### It cannot be repaired.",
  2157. /*67*/        "### WARNING: You do not have the proper privileges",
  2158. /*68*/        "### to access files in some of the folders.  Some",
  2159. /*69*/        "### files in those folders may be gazumbod!",
  2160. /*70*/        "### Unexpected error (^0).  If you are using",
  2161. /*71*/        "### GateKeeper, check to make certain you have",
  2162. /*72*/        "### granted privileges to Sample.",
  2163. /*73*/        "### The disk is too full to repair this file.",
  2164. /*74*/        "### NOTE: Some errors were reported. For a detailed",
  2165. /*75*/        "### explanation of an error message, press Command-?",
  2166. /*76*/        "### and click on the error message text.",
  2167. /*77*/        "### An error or inconsistency was detected while",
  2168. /*78*/        "### trying to repair this file.",
  2169. /*79*/        "### WARNING: This file is probably still gazumbod!",
  2170. /*80*/        "### An I/O error occurred while trying to check",
  2171. /*81*/        "### this file.",
  2172. /*82*/        "### The resource fork of this file is damaged or",
  2173. /*83*/        "### in an unknown format. It cannot be checked.",
  2174. /*84*/        "### This file was damaged by the virus, and it cannot",
  2175. /*85*/        "### be repaired properly.  You should delete the file",
  2176. /*86*/        "### and replace it with a known good copy.",
  2177. /*87*/        "### File partially gazumbod by nVIR A or B,",
  2178. /*88*/        "Sample Report",
  2179. /*89*/        "^0  ^1  page ^2",
  2180. /*90*/        "Sample Document",
  2181. /*91*/        "page ^2",
  2182. /*92*/        "Files scanned:",
  2183. /*93*/        "gazumbod files:",
  2184. /*94*/        "Errors:",
  2185. /*95*/        "Table of Contents",
  2186. /*96*/        "Select the file or folder to be ^0.",
  2187. /*97*/        "Select the folder to be ^0.",
  2188. /*98*/        "Select the file to be ^0.",
  2189. /*99*/        "scanned",
  2190. /*100*/        "gazumbod",
  2191. /*101*/        "Sample Prefs",
  2192. /*102*/        "Sample has found a gazumbod file.",
  2193. /*103*/        "Sample requires attention.",
  2194. /*104*/        "Save Protection INIT as",
  2195. /*105*/        "\$D7 Sample INIT",
  2196. /*106*/        "### Try using Finder instead of MultiFinder.",
  2197.     }
  2198. };
  2199.  
  2200.  
  2201. /* Credits for about box. */
  2202.  
  2203. resource 'STR#' (129) {
  2204.     {
  2205.         "Sample 2.0 was written in MPW C by John Norstad, ",
  2206.         "with help from his friends Mark Anbinder, Wade Blomgren, ",
  2207.         "Chris Borton, Bob Hablutzel, Tim Krauskopf, Joel Levin, ",
  2208.         "Robert Lentz, Bill Lipa, Albert Lunde, James Macak, ",
  2209.         "Lance Nakata, Dave Platt, Leonard Rosenthol, Art Schumer, ",
  2210.         "Dan Schwendener, Stephan Somogyi, David Spector, ",
  2211.         "Werner Uhrig, and Ephraim Vishniac.",    
  2212.     }
  2213. };
  2214.  
  2215.  
  2216. /* Virus names list for about box. */
  2217.  
  2218. resource 'STR#' (130) {
  2219.     {
  2220.         "Scores",
  2221.         "nVIR",
  2222.         "INIT 29",
  2223.         "ANTI",
  2224.         "MacMag",
  2225.         "WDEF",
  2226.         "ZUC",
  2227.         "MDEF",
  2228.     }
  2229. };
  2230.  
  2231.  
  2232.  
  2233. /* Program icon. */
  2234.  
  2235. resource 'ICN#' (128) {
  2236.     {    /* array: 2 elements */
  2237.         /* [1] */
  2238.         $"00 00 00 00 00 00 00 00 00 07 F0 00 00 3F FE 00"
  2239.         $"00 F8 0F 80 01 E0 03 C0 03 80 00 E0 07 00 00 70"
  2240.         $"0E 00 00 38 0C 03 E4 18 1C 07 F8 1C 18 08 70 0C"
  2241.         $"18 0C 20 0C 30 0E 40 06 30 17 FC 06 30 33 FE 06"
  2242.         $"30 39 07 06 30 1F E3 06 30 0F F3 06 30 04 33 06"
  2243.         $"18 1F B2 0C 18 3F E4 0C 1C 20 F8 1C 0C 21 30 18"
  2244.         $"0E 1E 00 38 07 00 00 70 03 80 00 E0 01 E0 03 C0"
  2245.         $"00 F8 0F 80 00 3F FE 00 00 07 F0",
  2246.         /* [2] */
  2247.         $"00 00 00 00 00 00 00 00 00 07 F0 00 00 3F FE 00"
  2248.         $"00 FF FF 80 01 FF FF C0 03 FF FF E0 07 FF FF F0"
  2249.         $"0F FF FF F8 0F FF FF F8 1F FF FF FC 1F FF FF FC"
  2250.         $"1F FF FF FC 3F FF FF FE 3F FF FF FE 3F FF FF FE"
  2251.         $"3F FF FF FE 3F FF FF FE 3F FF FF FE 3F FF FF FE"
  2252.         $"1F FF FF FC 1F FF FF FC 1F FF FF FC 0F FF FF F8"
  2253.         $"0F FF FF F8 07 FF FF F0 03 FF FF E0 01 FF FF C0"
  2254.         $"00 FF FF 80 00 3F FE 00 00 07 F0"
  2255.     }
  2256. };
  2257.  
  2258. /* Prefs file icon. */
  2259.  
  2260. resource 'ICN#' (129) {
  2261.     {    /* array: 2 elements */
  2262.         /* [1] */
  2263.         $"3F FF FF 80 20 00 00 C0 20 00 00 A0 20 1F C0 90"
  2264.         $"20 38 F0 88 20 60 38 FC 20 FC 4C 04 21 BE EC 04"
  2265.         $"21 BF 64 04 21 0E E6 04 21 0F 66 04 21 0F E6 04"
  2266.         $"21 8F E6 04 21 8F E4 04 20 DE FC 04 20 CF 38 04"
  2267.         $"20 77 30 04 20 3F E0 04 20 07 80 04 20 00 00 04"
  2268.         $"20 00 00 04 20 00 03 04 20 00 04 04 27 2C CE 74"
  2269.         $"24 B1 24 84 24 A1 E4 64 24 A1 04 14 27 20 C4 E4"
  2270.         $"24 00 00 04 24 00 00 04 20 00 00 04 3F FF FF FC",
  2271.         /* [2] */
  2272.         $"3F FF FF 80 3F FF FF C0 3F FF FF E0 3F FF FF F0"
  2273.         $"3F FF FF F8 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2274.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2275.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2276.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2277.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2278.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2279.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2280.     }
  2281. };
  2282.  
  2283. /* Checksum file icon. */
  2284.  
  2285. resource 'ICN#' (130) {
  2286.     {    /* array: 2 elements */
  2287.         /* [1] */
  2288.         $"3F FF FF 80 20 00 00 C0 20 00 00 A0 20 1F C0 90"
  2289.         $"20 38 F0 88 20 60 38 FC 20 FC 4C 04 21 BE EC 04"
  2290.         $"21 BF 64 04 21 0E E6 04 21 0F 66 04 21 0F E6 04"
  2291.         $"21 8F E6 04 21 8F E4 04 20 DE FC 04 20 CF 38 04"
  2292.         $"20 77 30 04 20 3F E0 04 20 07 80 04 20 00 00 04"
  2293.         $"20 00 00 04 20 20 00 04 20 20 00 04 23 24 EE C4"
  2294.         $"24 A9 09 24 24 30 C9 24 24 A8 29 24 23 25 C9 24"
  2295.         $"20 00 00 04 20 00 00 04 20 00 00 04 3F FF FF FC",
  2296.         /* [2] */
  2297.         $"3F FF FF 80 3F FF FF C0 3F FF FF E0 3F FF FF F0"
  2298.         $"3F FF FF F8 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2299.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2300.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2301.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2302.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2303.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2304.         $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
  2305.     }
  2306. };
  2307.  
  2308.  
  2309. /* Small icons.
  2310.  
  2311.     128 = floppy.
  2312.     129 = hard drive.
  2313.     130 = folder.
  2314.     131 = file.
  2315.     132 = Sample. */
  2316.  
  2317. data 'SICN' (128, preload) {
  2318.     $"0000 0000 3FF0 48A8 48A4 4824 47C4 4004"        /* ....?.H®H§H$Gƒ@. */
  2319.     $"4004 47C4 4824 4824 4824 3FF8 0000 0000"        /* @.GƒH$H$H$?..... */
  2320. };
  2321.  
  2322. data 'SICN' (129, preload) {
  2323.     $"0000 0000 0000 0000 0000 7FFE 8001 8001"        /* ............Ä.Ä. */
  2324.     $"A001 8001 7FFE 0000 0000 0000 0000 0000"        /* †.Ä............. */
  2325. };
  2326.  
  2327. data 'SICN' (130, preload) {
  2328.     $"0000 0000 0000 0000 1E00 21F0 2008 2008"        /* ..........!. . . */
  2329.     $"2008 2008 2008 2008 3FF8 0000 0000 0000"        /*  . . . .?....... */
  2330. };
  2331.  
  2332. data 'SICN' (131, preload) {
  2333.     $"0000 0000 0000 0FC0 0860 0870 0810 0810"        /* .......¿.`.p.... */
  2334.     $"0810 0810 0810 0810 0FF0 0000 0000 0000"        /* ................ */
  2335. };
  2336.  
  2337. resource 'SICN' (132) {
  2338.     {    /* array: 1 elements */
  2339.         /* [1] */
  2340.         $"0FE0 1C78 301C 7E26 DF76 DFB2 8773 87B3"
  2341.         $"87F3 C7F3 C7F2 6F7E 679C 3B98 1FF0 03C0"
  2342.     }
  2343. };
  2344.  
  2345.  
  2346. /* Beachball cursors. */
  2347.  
  2348. resource 'CURS' (128, preload, locked) {
  2349.     $"07C0 1F30 3F08 7F04 7F04 FF02 FF02 FFFE"
  2350.     $"81FE 81FE 41FC 41FC 21F8 19F0 07C0",
  2351.     $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
  2352.     $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
  2353.     {7, 7}
  2354. };
  2355.  
  2356. resource 'CURS' (129, preload, locked) {
  2357.     $"07C0 1FF0 3FF8 5FF4 4FE4 87C2 8382 8102"
  2358.     $"8382 87C2 4FE4 5FF4 3FF8 1FF0 07C0",
  2359.     $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
  2360.     $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
  2361.     {7, 7}
  2362. };
  2363.  
  2364. resource 'CURS' (130, preload, locked) {
  2365.     $"07C0 19F0 21F8 41FC 41FC 81FE 81FE FFFE"
  2366.     $"FF02 FF02 7F04 7F04 3F08 1F30 07C0",
  2367.     $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
  2368.     $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
  2369.     {7, 7}
  2370. };
  2371.  
  2372. resource 'CURS' (131, preload, locked) {
  2373.     $"07C0 1830 2008 701C 783C FC7E FEFE FFFE"
  2374.     $"FEFE FC7E 783C 701C 2008 1830 07C0",
  2375.     $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
  2376.     $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
  2377.     {7, 7}
  2378. };
  2379.  
  2380.  
  2381. /* Floppy disk cursor. */
  2382.  
  2383. resource 'CURS' (200, preload, locked) {
  2384.     $"0000 1FF8 2454 2452 2412 23E2 2002 2002"
  2385.     $"23E2 2412 2412 2412 1FFC",
  2386.     $"0000 1FF8 3FFC 3FFE 3FFE 3FFE 3FFE 3FFE"
  2387.     $"3FFE 3FFE 3FFE 3FFE 1FFC",
  2388.     {7, 8}
  2389. };
  2390.  
  2391.  
  2392. /* Question mark cursor */
  2393.  
  2394. resource 'CURS' (201, preload, locked) {
  2395.     $"00 00 00 00 0F C0 1C E0 38 70 38 70 00 70 01 E0"
  2396.     $"03 80 03 80 03 80 00 00 03 80 03 80",
  2397.     $"00 00 00 00 0F C0 1C E0 38 70 38 70 00 70 01 E0"
  2398.     $"03 80 03 80 03 80 00 00 03 80 03 80",
  2399.     {8, 7}
  2400. };
  2401.  
  2402.  
  2403. /* Bundle and signature. */
  2404.  
  2405. resource 'BNDL' (128) {
  2406.     'SAMP',
  2407.     0,
  2408.     {
  2409.         'ICN#',
  2410.         {
  2411.             0, 128,
  2412.             1, 129,
  2413.             2, 130,
  2414.         },
  2415.         'FREF',
  2416.         {
  2417.             0, 128,
  2418.             1, 129,
  2419.             2, 130
  2420.         }
  2421.     }
  2422. };
  2423.  
  2424. resource 'FREF' (128) {
  2425.     'APPL',
  2426.     0,
  2427.     ""
  2428. };
  2429.  
  2430. resource 'FREF' (129) {
  2431.     'SMP1',
  2432.     1,
  2433.     ""
  2434. };
  2435.  
  2436. resource 'FREF' (130) {
  2437.     'SMP2',
  2438.     2,
  2439.     ""
  2440. };
  2441.  
  2442. type 'SAMP' as 'STR ';
  2443.  
  2444. resource 'SAMP' (0) {
  2445.     "Sample 2.0b1.  Copyright © 1990, Northwestern University"
  2446. };
  2447.  
  2448.  
  2449. /* MF SIZE resource. */
  2450.  
  2451. resource 'SIZE' (-1) {
  2452.     dontSaveScreen,
  2453.     acceptSuspendResumeEvents,
  2454.     disableOptionSwitch,
  2455.     canBackground,
  2456.     multiFinderAware,
  2457.     backgroundAndForeground,
  2458.     dontGetFrontClicks,
  2459.     ignoreChildDiedEvents,
  2460.     is32BitCompatible,
  2461.     reserved,
  2462.     reserved,
  2463.     reserved,
  2464.     reserved,
  2465.     reserved,
  2466.     reserved,
  2467.     reserved,
  2468.     716800,
  2469.     409600,
  2470. };
  2471.